#ifndef task_taskfactor_h
#define task_taskfactor_h

#include "Socket.h"
#include "Task.h"
#include "EchoTask.h"
#include "WorkTask.h"

using namespace ddserver::thread;
using namespace ddserver::socket;
using namespace ddserver::task;

namespace ddserver 
{
namespace task 
{
	
class TaskFactory
{
public:
    static Task * create(Socket * socket,int servertype)
    {
        return new WorkTask(socket,servertype);
    }
};

}
}
#endif